<nb-card style="overflow-x:auto;overflow-y:hidden">
  <nb-card-header>
    教师课时明细查询
  </nb-card-header>

  <nb-card-body>
    <table>
      <tr>
        <td>
          <input-select [ApiUrl]="'Public/TeacherList'" [(myModel)]="bean.teacherId" [multiple]="false">
          </input-select>
        </td>
        <td><input nbInput placeholder="开始时间" [(ngModel)]="bean.dtStart" [nbDatepicker]="formpicker_start">
          <nb-datepicker #formpicker_start format="yyyy-MM-dd"></nb-datepicker>
        </td>
        <td><input nbInput placeholder="结束时间" [(ngModel)]="bean.dtEnd" [nbDatepicker]="formpicker_end">
          <nb-datepicker #formpicker_end format="yyyy-MM-dd"></nb-datepicker>
        </td>
        <td><button nbButton status="basic" (click)="Search()" icon="refresh">查询</button></td>
      </tr>


    </table>

    <div style="overflow-x: scroll;overflow-y: auto;">
      <ng2-smart-table #samrtTable [settings]="settings" [source]="source" (create)="onSave($event)"
        (delete)="onDelete($event)" >
      </ng2-smart-table>
    </div>
  </nb-card-body>
</nb-card>